package _95MingLing;

/**
 * @Stock: 请求类
 * @author: ZBoHang
 * @time: 2021/9/15 17:31
 */
public class Stock {

    private String name = "Abc";
    private int quantity = 10;

    public void buy() {
        System.out.println("buy name-->" + name + " quantity-->" + quantity);
    }

    public void sell() {
        System.out.println("sell name-->" + name + " quantity-->" + quantity);
    }
}
